@mixin show-hide-animated {
  &.ng-move,
  &.ng-enter,
  &.ng-leave {
    transition: all 0.3s ease;
  }

  &.ng-leave.ng-leave-active,
  &.ng-move,
  &.ng-enter {
    opacity: 0;
  }

  &.ng-leave,
  &.ng-move.ng-move-active,
  &.ng-enter.ng-enter-active {
    opacity: 1;
  }
}

.verify {
  overflow: scroll;
  background-color: #f2f2f2;
  h4 {
    height: 70px;
    line-height: 70px;
    background: darken(#11c1f3, 4%);
    color: white;
    border-radius: 2px 2px 0 0;
    box-shadow: 0 2px 3px -1px rgba(0, 0, 0, .14), 0 4px 5px 0 rgba(0, 0, 0, .098), 0 1px 4px 0 rgba(0, 0, 0, .084);
    text-align: center;
    margin: 0;
  }

  form {
    box-sizing: border-box;
    width: 260px;
    background-color: #fafafa;
    border-radius: 2px;
    box-shadow: 0 2px 3px -1px rgba(0, 0, 0, .14), 0 4px 5px 0 rgba(0, 0, 0, .098), 0 1px 4px 0 rgba(0, 0, 0, .084);
    padding-bottom: 20px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%);
    margin-bottom: 20%;
    .msg{
      margin: 25px;
    }
    .err{
      color:red;
    }
  }
  input,select {
    margin: 40px 25px 0px;
    width: 200px;
    display: block;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #11c1f3;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #11c1f3 4%);
    background-position: -200px 0;
    background-size: 200px 100%;
    background-repeat: no-repeat;
    color: #474747;

    &:focus,
    &:valid {
      box-shadow: none;
      outline: none;
      background-position: 0 0;
      &::-webkit-input-placeholder {
        transition: all 0.3s ease-in-out;
        color: #11c1f3;
        font-size: 12px;
        transform: translateY(-20px);
        visibility: visible !important;
      }
    }

  }
  .cap-input {
    width: 100px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
  }
  .cap-image {
    display: inline-block;
    width: 90px;
    margin-bottom: 0;
    vertical-align: bottom;
  }

  // animation
  .err,
  input,
  img,
  .padding,
  section {
    @include show-hide-animated;
  }
}